package algorithm;

public class MinJump {

    public static boolean compareVersion(String curVersion, String compareVersion) {
        return curVersion.compareTo(compareVersion) >= 0;
    }
    
    public static void main(String[] args) {
        System.out.println(compareVersion("2.0.1", "2.0.0"));
        System.out.println(compareVersion("1.0.1", "1.0.0"));
        System.out.println(compareVersion("1.0.0", "1.0.0"));
        System.out.println(compareVersion("1.0.0", "1.1.0"));
        System.out.println(compareVersion("", "1.1.0"));
    }
}
